<!-- $Revision: 15370 $ $Date: 2013-05-22 15:55:57 -0300 (Wed, 22 May 2013) $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../../../../../../lumis/doui/style/DouiControls.xsl"/>
	<xsl:output omit-xml-declaration = "yes" method="xml" />
	
	<xsl:template match="control[@type='lum_navigationList']">
		<ul class="nav clearfix">
			<xsl:for-each select="data/row">
				<xsl:choose>
					<xsl:when test="parentId = '' ">
						<xsl:if test="name != 'Home'">
							<li class="active"><a href="#"><span><xsl:value-of select="name"/><i></i></span></a>
							<xsl:variable name="id" select="id"/>
							<xsl:variable name="name" select="name"/>
								<ul class="clearfix">
									<xsl:if test="$name = 'Gerenciar Equipes'">
										<xsl:attribute name="style">width:595px;</xsl:attribute>
									</xsl:if>
									<xsl:if test="$name = 'Gerenciar Clientes'">
										<xsl:attribute name="style">width:764px;</xsl:attribute>
									</xsl:if>
									<xsl:if test="$name = 'Gerenciar Funcionários'">
										<xsl:attribute name="style">width:533px;margin-left:-108px;</xsl:attribute>
									</xsl:if>
									<xsl:if test="$name = 'Gerenciar Veículos'">
										<xsl:attribute name="style">width:223px;</xsl:attribute>
									</xsl:if>
									<xsl:for-each select="../row[parentId=$id]">
											<li><a href="{href}"><xsl:value-of select="name"/></a></li>
									</xsl:for-each>
								</ul>
							</li>
						</xsl:if>
					</xsl:when>
				</xsl:choose>
			</xsl:for-each>
		</ul>
	</xsl:template>
</xsl:stylesheet>
